Create fucntion delete