correct the initialize code
make the share data canvas center
improve model
add function