added wrap option