working new mat generator