moved recognition setup to logic js