added some instances i forgot; added some misc. barebones code that i 
know we'll need off of the top of my head