added static id counter