finish the basic function
add ignore files