adding annotation check to checkServer()