changed if elseif pattern per code review