editted the 5 conditions