add dio bio comparation code