comments added about twitter cache, functions are renamed