changed to hex assignment and took out needless library linking to the object file