I think I found a solution, now I use booleans and it nearly works.