implement bid core algorithms