Cleaned up the bit where I find sp. Still doesn't work.