Added two new methods for inserting data