almost there, need to make sure I mask off control bits