adding methods for handling collections