added quojs and corr. code