use constructor object instead of hash for router handle