basic templating and carousel