insert and fetch data
fixed