setting up for server