Add lines between data, add error handling