basic removal logic