my class assignment answer ;