remove all extern
add contents