added the shoe detection state