Added for pgid feature