more examples + working logreg