constructors for quantity