added image drawing