Add insertData and deleteData declaration
some functions for insert