slightly changed approach for cj attribute routing