added method for removing tracked events (version 2)