the lua example of working