removed direct maxLik dependency