parent child scope needs work