added prototypes to client