clean up
extracted reflection methods