Using if statement