Added functions to collectors for graph generation