Moved the initialize for pgha around