changed variable names according to pryv convention