Debug and correct Name of function createMenu