added confirm option