crt part for algolib
lib logging implemented