initial extension method null checks