Removed unused lambda calculation