implemented some server functionality