+ added debug logs