Working on rest api call now