implementing popline
escaping html
stroke function refectored