logging is now roughly implemented, tests have worked