add reactive to lib