Implement part 2 server, got error