modified the bubble