Use lambda for strict callback