switched back to new Error
q promises and genny modifications