added intel bit positions
error checking