result for the 2nd assignment