Refactored def ... -> lambda