optimized getData request so as to only request data that is being used