learning mode mostly works.
Got rid of the log because it was bad.