add check focus
add plotting all