add checkPhotos method

improve to support two different methods, change naming