Added close feature