added print lines

moved down stuff and commented it out