setup else if statement

setup else if statement and tested in console