Changed join function name to add-unit