more api generation