modify for 3D
add hex files