adding tail finction