started to cleanup and added recursive radix