added some prototyping for menu