add image now works with seperation of concerns