add new file and added a new function