adding lsg function