added function to create new id's