https://stackoverflow.com/questions/...ializing-an-ob