Added join function
Added specs