why cant that be done server side?