add size override and documentation