making it all server side..