Improved the spotted/hidden system.