finish basic field functions
add init resources