ex5 + js num rec