api: the beginning