added angle limiter