fleshing out api