Simplified and added spfind routine.