'pgs' is not very descriptive when trying to read this code