initial commit of lstar.c