put in check for unicode to byte for None values, shorten names of functions