datamine and build_model now work