Shelter program using PG Gem