started working on sorting server and client communication, need to finish