Added booleans  to curve samples