images array is now cleared everytime a call to getImage is made