PG - some foundation class work