add graphics library