updated log statements