fixed issue with $ numerotation (starting from 1 not 0), added types, and fixed an issue with variables