layers works for lines