adding remove to persistent object