added roiphot stuff