main pivot