make options function args