cleaned pregenerated code