The when statement has to be done