added to cycle.js