change indentation and include debugmode