add else branch of if sentence