the post by arnelgp provided the solution and it works.