using instance_exec to pass options to procs