version3 stable

new version still some place to be fixed but it works well now