Refactored: log = add time message