draw code edit#3 working fine