added more methods to the collector and its test