made a pictures controller