Sw 0007

pls choose one way to format those ifs and stick to it.