Occurance var and prompt has been added with second question.