begining of reflection solution added