server side for carousel and wrap up client