slowly flushing out the api