server that can handle multiple clients, ends at the moment, but it handles all three clients successfully