add quotes controller
add debug line
add exception to controller