added default values for vector constructor