refactor out the executable