example usage of reflection