finish 3 functions of 8250