Pass in id at the appropriate point