changed pin controller limits