added basic figure data type