refactor SBT