add line functionality
add a function that will take an array of ids and return an array of names