Updating the hb version

making the code cleaner