server prototype