updated first four methods in Collections