change the way you add/remove images