add max entropy model