sends information to client, but not in the right order