Factory function  in progress

factory function working from a text string of the object

pulling size data from the objectdata