method option passing