whoops, forgot to update function names (nibbles != chars)