Added perform method to guard prompts