It works now- just started the UIPhoto class and implementing it