james | resolving circular dependency