add metadata support
add orientation support
add orientation support