Added "if then"