better deprecation notice