added logic of blame