add result variable _ length times width