EDIT...i solved it..but the solution makes no sense to me...i just removed the "return 0" and it suddenly worked...if anyone is willing to explain me why i would be grateful...
does the return somehow break the operation?
does the return somehow break the operation?