Lambda approach for Py2.6