added intended functionality for reflection