Added result typing