menu
menu optimisation
added isDouble
added print