equ working/fixing plotting