make this more robust
add confirmation