class and function reflect