fix extend model
add methods