changed api methods