fucked up the April 5th code, improved 9a somewhat