updated pseudocode instructions for html