working on logistic cont..