updated display code and changes to API calls