lineMode can be taked from template. second try