implemented bracket lines drawing