interaction with pvx database