took out close method