Pushing error log, fixing math. Finding bugs