working on the printing function, have to cut out now