line handler initialization