Create a struct picture and apply to all of the functions