my final submission for assignment 3