move if guards to cover entire files.