added changes to reflection