adding in debug