why am i refactoring this...