refactor bios
char use bios