base version api structuring