counter now working
add hex2disp and stuff