initial work on writing to api