Added: logging to most of the functions