improving primitive flow runner stub