Added lambda timing method