check for true instead of 1