functionality for removal initialized