added a few things to the server file