added a new init method for optionsView