Added the logn module