Added comments and more readable code with Result -> Option conversion via `.ok()`