Added phot to profiled and made some style changes.