v1.3 initial  coding