a extension to get more from the setInterval and organice better you code