got the circular reference working