added function to add/remove as many strings as necessary