add framework

add some code