added new cheshire functionality for rendering into layout