added a get extension method