finished functionality of collector daemon