changed order of constructors of datum from scratch