Assign function added