some changes and a draft of img2bits