added join case to parser