update to version 0.0.2 & added merge algo