Added close option