Added the prototype for the add function