deleted unneeded parameter in the prints method
added major changes