refactor tenders