Removed duplicate definitions of shortProc (??). Fixed Src and Sink patterns in the remaining one.