removing more lines causing compilor errors