deletion and creation working