Refactored the graphics fetching method