Added new logging system