add logging to make failure debugging easier