Adding pseudocode