Main function sets add.