edited reflection stuff