Hi,
I had a little free time and wanted to have a look at your definition, but you haven’t uploaded the file.
It is common practice to upload a simplified version of the file with the problem.
Pls have the patience and read this post. It will help you a lot in getting help.