If statement works