working else if statements