unit bar selection correctly creates a new array now