added half hex variable and added to console.log