add th styling
update distributed code