element name requires a hyphen. move addRoute to utils