Delete Simple if-else statement