More debuging in API