add max features option