made changes to get a transparent background in the image