Refactor a_values method
Refactor a_values even more
Write keys_ztoa method. DAMN IT'S ONE LINE