Implements assign