programming assignment#2 - try 5