adapted to the pro version