merge options_i and options_callable into options_callable (options_callable should also take index as arguement)