graphical input support added