add if else statement post