doesn't work with ```cls.extension =''```