finally my server listening key press events