First method for assignment