added sample if statement