adding my assignment2.2