changed api specification