it seems that viewName can be null so should be Option