changed from 255 bit to full length