getOrThrow implemented