Added close operation