Added commented API sketch