Change to accept mhLog as parameter