update size to allow for passing a single value