Helper extension method