implemented insert picture