homework 2 added, version 1