adding in debug out