I implemented in a PPAM and it works now.
Thanks a lot