Data insertion code added