api: some changes