simplify provate data example in basic