test6 functionality