add id in barrel