improved graphics output