wrap in def