added pseudocode for tomorrow