debug to display picture