add basic bid function