validate join function complete
code updated
code updated