Add code for content and devices