work in progress -- exposing lsh calls to lua