refactoring managing and unmanaging
refactoring set_style()