finished the function that is used to extract the entries for multiline fields, also fixed a bug. not sure why it gave an extra value when using join() function.