add size and offset