avoid api calls by utilizing instance variable and rails caching