tested out else if print out to console