console logs to find source of problems