changes to reflection2 example