sub3 functionality