encode test 4