Added bit error thing (hopefully it works...