Quick fix to pseudocode