Add resize method