clean up broken code; update readme