BOSC assignment 2