remove addEntry from main