added multi files
deleted unused function