added new bubbles dynamic function for cr