added one line of logging