You can just pass resolve here