the server now works - need to figure out different functions/arguments for messages