removed unused files
fixed euc method