having trouble with photo controller create