function to retrieve trial names
....