+ app_type in advice, running time int->double