updated for testing removeAt method