improvements

maximum functions to ascii
callback preparation for better control