add id to main