register data-resize
update docblock
more options