threw away inversecond, fixed weird bug
ironed the conditions a bit
added coll.sum