added set and get name to targets