uncommented routine.js