just started writing javadoc for server class