refactor termsheet