added time param to helper.js