Moved Assign Code