sheet refactor