Fixed tha static one to generate id