minor changes
add logging
build learning curves