added optional ignore statement to insert