implement #deleteAt