modified file for one joint and to publish one time