lots of debugging here... finally working with my rmw example...