new package constructor