pass optiosn in