renamed assignment2 to obj2custom