use lambda to avoid duplicating slot functions
comply to PEP8 coding style
be more pythonic (aka: Pylint compliant)