added helpful macro for bit level work. added a new struct in utils.