Add assignment functional