added brake method to avoid using the stopping method, which would break RT constraints