added variable parameter constructors to Pattern classes