make add and multiply functions