changed img calling (not sure if correct)