attempt at rsolving potential chicken and egg issue