small refactor. removal of redundant code.