added getID function