refactoring reflection for meta info.