Changed return type of lambda from Void to void - this removes the need
to return null in the lambda