better check for backwards compatibility