cancel static fucntion; revise insert_data