v4.1 update - logging added