server works for basic use case