statics for manage resources and toogle element