trying to work around circular reference error