upgraded the bitbang macro