second version of the final exam 5091516