adding in listing and detail templates