removed getting id algo