First try for Prog. Assmt. 2