added analytics banding logic