Linked teacher names with output