Finished add functionality