bugs, pep8 and abstracting social links