final 4 bit with all functionality