putting in a log to make it more clear