function use demo done.