creating def for  pretty much everything