added a shared buffer to menu class so one is not required