Added references for some hacks I found on stackoverflow.com