add checkpoint2 skeleton codes