Placed data definition into reactive functions