uploaded completed solution minus reflection