implement elif.