random class as a web service is working