need to use afterEvaluate