getting everything pretty much working