Added an insert method