added a debug menu