little change in put_pixel call