Updated return type signature for get method