working towards a full api