Added source code of v1.0