switched L30 and L31 assignments