Adding collector class