setting up for the server