moving things to the server side