added a small function
Merge branch 'master' of git://github.com/eddotman/socode into eddotman-master

Conflicts:
	socode.py
Merge branch 'eddotman-master'

Conflicts:
	socode.py
Merge branch 'master' of github.com:sricola/socode