added printig to file and comments