moved mlint into main code