debugging and pseudocode