add some files

add some files and modify some functions