adjust code structure.
add original declare
add authorization declare.