updated style guide and fixed joins with lists