Implementing options functionality