work done on the th action edit part