add options attributes support