debuggind

debugged some more

I have now a working example!