added an option for intent