added deletion to each level through the api