const fields are now transformed into global variables