small refactor of offers