added server prototype