Changing to use the w2b and b2w functions.