uploaded completed solution one with reflection