Pseudocode 5th commit