some work on rational wrapper