simple code refactor, with no particular purpose