update example
update test: it works now
add size() to interface