@shadyvb I think `$offset` would be a better var name here than `$pgstrt`.