include images and biased logistic function