Change to new inset function