more of the api implemented (record writers etc