Added comments for clarification in common.py