[#6] logging added