add finished api structure