Added a few lines to print everything to the frame