added numpad and OSD function