handles multiple feature layers with scope params