add graphics control features with some issues