#25 implemented logging  information