add dist mechanism