Server Implementation part 1