adding line mechanism works