added route to object logic