trying to use PutImage