completed last two problems