completed work on log module