changes to blob detection