Add

created add function, but still need to test.