depreciated helper.js