also write class