working on inserting images correctly