add start and stop to pg