updated non-typescript route