remove the non-final parts