added join types and algorithms
minor changes to frontend