added pseudocode for server command methods