getting it to compile. a lot of functions disabled. added timer2