id_generator implemented