prog compiles and runs with lut malloc