Implement deleteAt