Implemented graphics IO