delete and creation roughly working