New way of generating instances