working on offers controller