changed @staticmethod to @classmethod