started work on associations api call