pseudocode and initial solution only