add debug statements
add mapping for image tags