removed sum stuff