Added add, subtract and multiply functions