added makeFromSpec to core