some functional for offers