more work on blobfinder and functions