changed namings of some callback functions; added removeAll callback