The fraking code was all wrong, so i have to add an "}" to the end ... the class code was incomplete