updated the loop-shortcode