decorator added for python modules