Submitted class2 homework