initial version of join function for underscore