Extracted prompt to class