Updated functions figu and jvaFirst