added some skeleton code for photometry view