figure creation, incomplete