Added line pattern behaviour