subtotal sort of works