Add insert method
add ifdef
add delete method