maybe the first if already "is true" and then next elsif is never done.