changed assign to weak