implementing vanilla option