adding hmenu and other features