handle 3 and 4 line entries OK and test for it