all but pipes

implemented everything except for pipes. maybe tomorrow