method 'new' now takes -wrap and -format