Added insertRecord