code updates to v1.0