add graphics and math