plug take and assign