added maximum size, changed minimum size