add lis3() function (finish)