create method for add new log