errors removed. pretty slow though.