worked on menu. added conditional compilation.