adding a currentType method to get current source type if known