moved menu to declarations