if else sample
looping sample