there is no need to check if b.params is nil