overloaded addEntry with startparameter.