Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I didn't think this alone would be enough, but ok :D Glad you solved it!
You should try to restructure your code to avoid using global variables. It's very confusing to understand how the class works right now.
Keep in mind that you can use the constructor to add additional variables without resorting to globals.
check what type (Number or String) you return