added classmethod to load