coding on v1.0 part2