back end example for storing pga data