define lessi and redefine swapi