Added the knocking conditions