Accomplished assignment 2