variable are no longer needed
adjust for new API