add multiline record support