Hmm.. better not use curproc RIGHT after the comment which says it can no longer be used...