start turning var into reactive function section