Tried renaming the 'img' variable