Added pseudocode for each method in client model