working on extra credit

fixing errors that did not work the first time