changed api variable names