adds drawer line functionality