changed api to reference in documentaton