integrating menu into program, failing to do so