Not Really Chopped Liver

Chopped liver found in health food stores usually has eggs, while this is vegan. It tastes great on rye vegan bread with mustard. It can also be a dip. here goes;
Boil lentils as usual, while browning chopped onions in olive oil. Drain cooked lentils and mash with a potato masher (can be pureed in a food processor as well). Add onions, salt and pepper to taste. Add more olive oil if not moist enough. Let chill.