modify pointdemo