worked on serv.cpp syntax errors