added assignment3 answer again