finished validation and creation of ticket