type moved from terrame.lua to Utils.la