added option default and style defaultoptions