remove unneded continues
add rate-limit function to tubes