debugging simulation mode