validation and intent creation has been added