I just merged a few threads together, should give you some more ideas