updated get return value type