refactor last_bid and dalje