Simplified pseudocode