stuff from ian

php mostly. don't fuck it up kaitlin