the second way works fine!
Thanks