Adding logging to console
indent wrong