chapter1: added image which is drawn to canvas