towards a better photometry class dependence