rename to bag and properties and ove to its own file