• oops...I forgot that I had to change SYSprocesses to sys.sysprocesses for all occurrences.