add entries
remove unnecessary entries