added some pseudocode for tomorrow