skeleton for qn1
added foo() for test