added container id check and exception
add hacky drawText method