working on logging for parallel_lib